//
// Created by ASUS on 2021/11/16.
//

#ifndef REMOTE_CONTROLLER_HANDLER_H
#define REMOTE_CONTROLLER_HANDLER_H
#define COMMAND_NUM 5
#define TOKEN_LEN 32
#define OPT_NUM 5
#define COMMAND_LEN 32
enum COMMANDS {
    QUIT=0,
    DOWNLOAD,
    CHROME_PWD,
    CD,
    SHOT
};

int handler(char * input, char * cmd, char ** opt);

extern char * command_list[COMMAND_NUM];


#endif //REMOTE_CONTROLLER_HANDLER_H
